package com.kitchen.music.service;

import com.kitchen.music.entity.Singer;

import java.util.List;

/**
 * @Author: kitchen
 * @DateTime: 2021/6/21 19:51
 * @Description: TODO
 */
public interface SingerService {

    boolean insert(Singer singer);
    boolean update(Singer singer);
    boolean delete(Integer id);
    Singer selectByPrimary(Integer id);
    List<Singer> allSinger();
    //模糊查询
    List<Singer> singerOfName(String name);
    //根据性别查询
    List<Singer>singerOfSex(Integer sex);
}
